package org.fastmvc.log;

/**
 * <类描述>
 *
 * @author tangch
 * @date 2017年11月08日 9:46
 */
public interface Log {


	boolean isErrorEnabled();

	void error(Object message);

	void errorf(String fmt, Object... args);

	void error(Object message, Throwable t);

	boolean isWarnEnabled();

	void warn(Object message);

	void warnf(String fmt, Object... args);

	void warn(Object message, Throwable t);

	boolean isInfoEnabled();

	void info(Object message);

	void infof(String fmt, Object... args);

	void info(Object message, Throwable t);

	boolean isDebugEnabled();

	void debug(Object message);

	void debugf(String fmt, Object... args);

	void debug(Object message, Throwable t);
}
